Plugin Conflict Warning: Redirection Plugin

We have encountered a plugin conflict with the Redirection plugin by John Godley, a plugin used to manage 301 redirects. We are still looking into why the conflict occurs and if there is anything on our end that can be done to eliminate the conflict.

The issue only manifests itself if any of your form title/description or form field title/descriptions contain a quote symbol (ex. ") and can result in data loss as it clears your form fields when you save the form in the form editor. This only occurs when a specific set of circumstances exist between Gravity Forms and the Redirection plugin as I have described above. No further information is known at this time.

It may require changes by the author of the Redirection plugin to resolve. We will know more as we investigate.

Share This
6 Responses to "Plugin Conflict Warning: Redirection Plugin"
  1. Hi Carl,

    Have you had any other reported issues since the last update? My WP backend is in quite a lot of troble - the login page is blank, so there's no way for me to access other than FTP. I'm not quite sure what to do here - if I pull the gravity folder out I'll lose all of my forms, no?

    Help!

  2. unsalkorkmaz says:

    any update on this?

  3. Carl Hancock says:

    The issue is the Redirection plugin is globally stripping slashes from special characters as part of it's special character escaping functionality.

    What this means is when ANY data is posted to WordPres (not post as in a WordPress post but post as in a form post) the Redirection plugin is intercepting it and stripping the slashes that WordPress by default adds in front of special characters.

    Our plugin does not expect the slashes to be stripped... so we then get the variables and it causes problems with how we process the data.

    This is a good example of a plugin that is impacting data that is outside the scope of it's intended use... and a good example of what NOT to do. This is why conflicts happen.

    I am trying to get in touch with the author of the Redirection plugin to get his input and inquire as to why he does it this way and if he can change it. We are also looking into a workaround to avoid this causing a problem on our end.

  4. Carl... i see a new release of Redirection today as v2.1.25... the changelog says that it fixes "deep slashes".

    i upgraded the plugin on one of my sites... created a new Gravity Form and put some quotes in one of the field descriptions... the form data was saved correctly and the preview showed the form with no data loss... it appears to have been fixed.

    can you or anyone else help confirm this?

    have fun at WordCamp Boston.

    • Carl Hancock says:

      I can confirm that the author of the Redirection plugin has in fact updated his plugins so that this issue will no longer occur.

      I had been in touch with both him and the core WordPress development team about this issue. I am glad to see that he moved quickly to fix the issue as it also posed a security vulnerability on top of interfering with Gravity Forms. The issue was present in the Redirection plugin and several other plugins by the same author. He has fixed them all.

      So as long as you use the latest version of the Redirection plugin, it should not interfere with Gravity Forms.

Leave a Reply